import { post, download, upload } from '@/utils/request'

/**
 * 一期一档新增
 * @param data
 */
export function fetchAdd(data) {
    return post('/org/api/evaluation-info/save', data)
}
/**
 * 一期一档删除
 * @param data
 */
export function fetchDetail(id) {
    return post('/org/api/evaluation/getEvaluation', { id: id })
}
export function fetchSave(data) {
    return post('/org/api/evaluation-info/save', data)
}
/**
 * 一期一档修改
 * @param data
 */
export function fetchUpdata(data) {
    return post('/org/api/teacher-attendance/update', data)
}
/**
 * 一期一档列表
 * @param data
 */
export function fetchList(data) {
    return post('/org/api/evaluation-info/paging', data)
}
export function createEvaluation(data) {
    return post('/org/api/evaluation/createEvaluation', data)
}
export function getEvaluation(data) {
    return post('/org/api/evaluation/getEvaluation', data)
}
export function getPullDownList(data) {
    return post('/training-class-schedule/getPullDownList', data)
}